package com.ljt.Weapon;

import Creature.Creature;

/**
 * @description:
 * @author: 28437
 * @date: Created in 2020/5/31 8:37
 * @version: 1.0
 * @modified By:
 */
public class BowandArrow extends Weapon {
    public BowandArrow(String id, String description, int damagePoints) {
        super(id, description, damagePoints);
    }

    @Override
    public void useArticle(Creature targetCreature) {
         targetCreature.setHpValue(targetCreature.getHpValue()+this.getDamagePoints());
    }
}
